#include "BaseWindow.h"
#include "WindowManager.h"
BaseWindow::~BaseWindow()
{

}

BaseWindow::BaseWindow(QWidget *parent):QMainWindow(parent)
{

};
void BaseWindow::closeEvent ( QCloseEvent * event )
{
   if(WindowManager::GetInstance())
       WindowManager::GetInstance()->RemoveWindow(this);
}
